From: Colin Walters Date: Thu, 15 Oct 2009 17:52:17 +0000 (-0400) Subject: [ShellApp] Fix handler signature for workspace switch X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10739 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d705c1bb5277712ee84e197ae68e4b98cd34f6f5;p=gnome-shell.git [ShellApp] Fix handler signature for workspace switch This was causing crashes or undefined behavior. https://bugzilla.gnome.org/show_bug.cgi?id=598227 --- diff --git a/src/shell-app.c b/src/shell-app.c index 6ce098380..bc87a1261 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -243,8 +243,13 @@ shell_app_on_unmanaged (MetaWindow *window, } static void -shell_app_on_ws_switch (ShellApp *self) +shell_app_on_ws_switch (MetaScreen *screen, + int from, + int to, + MetaMotionDirection direction, + gpointer data) { + ShellApp *self = SHELL_APP (data); self->window_sort_stale = TRUE; g_signal_emit (self, shell_app_signals[WINDOWS_CHANGED], 0); }